package com.qianniu.napi.admin.entity;

import com.baomidou.mybatisplus.enums.IdType;

import java.math.BigDecimal;
import java.util.Date;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import com.fasterxml.jackson.annotation.JsonIgnore;

import java.io.Serializable;
import java.util.List;

/**
 * <p>
 * 实体店商家地址，需要满足实体营业执照+店面+独立小程序
 * </p>
 *
 * @author chenxuebin
 * @since 2018-10-16
 */
@TableName("t_store")
public class Store extends Model<Store> {

    private static final long serialVersionUID = 1L;

	@TableId(value="id", type= IdType.AUTO)
	private Long id;
    /**
     * 名称&
     */
	private String name;

    /**
     * 纬度坐标&
     */
	private Double latitude;
    /**
     * 经度坐标&
     */
	private Double longitude;
    /**
     * 排序&
     */
	private Integer paixu;
    /**
     * 地址&
     */
	private String address;
    /**
     * 商家特色&
     */
	private String characteristic;
    /**
     * 省代码&
     */
	@TableField("province_code")
	private String provinceCode;
    /**
     * 省&
     */
	private String province;
    /**
     * 市代码&
     */
	@TableField("city_code")
	private String cityCode;

    /**
     * 市&&
     */
	private String city;
    /**
     * 区代码&
     */
	@TableField("district_code")
	private String districtCode;

    /**
     * 区&
     */
	private String district;

	/**
	 * 商圈
	 */
	@TableField("area_code")
	private Integer areaCode;
	@TableField("area_name")
	private String areaName;
	/**
	 * 餐厅介绍
	 */
	@TableField("store_introduce")
	private String storeIntroduce;

	/**
     * 店铺介绍&
     */
	private String video;
	private String info;

    /**
     * 联系人
     */
	private String linkman;
    /**
     * 联系电话&
     */
	private String phone;
	private String phone2;

    /**
     * 店铺图片&
     */
	private String pic;

	private String thumb;
	private String logo;

    /**
     * 商家类目&
     */
	private String type;

	@TableField(exist = false)
	private String typeName;

    /**
     * 启用状态
     */
	private Integer state;
	private Date starttime;
	private Date endtime;

	@JsonIgnore
	private Long uid;
    /**
     * 商家ID&
     */
	@JsonIgnore
	private Long mid;

	@JsonIgnore
	private Long mpid;
    /**
     * 营业时间
     */
	@TableField("open_hour")
	private String openHour;
    /**
     * 微信号
     */
	private String wxno;

	private String gzhimg;
	private String kefuimg;
	private String payimg;

	private String photos;
    /**
     * 支持WIFI
     */
	@TableField("is_wifi")
	private Integer isWifi;
    /**
     * 支持微信支付
     */
	@TableField("is_wxpay")
	private Integer isWxpay;
    /**
     * 支持支付宝支付
     */
	@TableField("is_zfbpay")
	private Integer isZfbpay;
    /**
     * 支持停车位
     */
	@TableField("is_parking")
	private Integer isParking;

    /**
     * 是否实体
     */
	@TableField("is_shiti")
	private Integer isShiti;

    /**
     * 是否连锁
     */
	@TableField("is_liansuo")
	private Integer isLiansuo;

    /**
     * 是否外卖
     */
	@TableField("is_waimai")
	private Integer isWaimai;

	@TableField("is_tihuo")
	private Integer isTihuo;

	@TableField("is_yikatong")
	private Integer isYikatong;

	@TableField("is_dulizs")
	private Integer isDulizs;

	@TableField("is_cbct")
	private Integer isCbct;

	@TableField("is_auth")
	private Integer isAuth;

	private String yzno;
	private Integer yzstatus;
	private String gxbno;
	private String authno;
	private BigDecimal zhekou;

	private String vrurl;
	private String wifipwd;

	private Integer status;
	private String shinfo;

	private Integer zhexiao;
	private Integer jrhexiao;
	private Integer xdhexiao;

	private Integer pstype;
	private Integer sellnum;
	private Integer songda;
	private Double pingfen;
	private Integer views;
	private Integer renqi;
	private Integer mchtype;
	private Integer mlevel;
	private Integer isprint;

	@TableField(exist = false)
	private double distance;

	@TableField(exist = false)
	private List<Goods> goods;

	private BigDecimal price;
	private BigDecimal pjprice;

	private BigDecimal qisongfee;
	private BigDecimal peisongfee;
	private BigDecimal jffanbi;
	private Long leagueid;

	private String zhutui;
	@JsonIgnore
	private String unionid;
	private String skus;
	private String xuzhi;
	private String youhui;

	private String zhizhao;
	private String xiangqing;
	private String xukezheng;
	private String zhengshu;

	@JsonIgnore
	private Date createtime;
	@JsonIgnore
	private Date modifytime;
	@JsonIgnore
	private Long modifier;

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public Double getLatitude() {
		return latitude;
	}

	public void setLatitude(Double latitude) {
		this.latitude = latitude;
	}

	public Double getLongitude() {
		return longitude;
	}

	public void setLongitude(Double longitude) {
		this.longitude = longitude;
	}

	public Integer getPaixu() {
		return paixu;
	}

	public void setPaixu(Integer paixu) {
		this.paixu = paixu;
	}

	public String getAddress() {
		return address;
	}

	public void setAddress(String address) {
		this.address = address;
	}

	public String getCharacteristic() {
		return characteristic;
	}

	public void setCharacteristic(String characteristic) {
		this.characteristic = characteristic;
	}

	public String getProvince() {
		return province;
	}

	public void setProvince(String province) {
		this.province = province;
	}

	public String getCity() {
		return city;
	}

	public void setCity(String city) {
		this.city = city;
	}


	public String getDistrict() {
		return district;
	}

	public void setDistrict(String district) {
		this.district = district;
	}

	public String getInfo() {
		return info;
	}

	public void setInfo(String info) {
		this.info = info;
	}

	public String getLinkman() {
		return linkman;
	}

	public void setLinkman(String linkman) {
		this.linkman = linkman;
	}

	public String getPhone() {
		return phone;
	}

	public void setPhone(String phone) {
		this.phone = phone;
	}

	public String getPic() {
		return pic;
	}

	public void setPic(String pic) {
		this.pic = pic;
	}

	public String getType() {
		return type;
	}

	public void setType(String type) {
		this.type = type;
	}

	public Integer getState() {
		return state;
	}

	public void setState(Integer state) {
		this.state = state;
	}

	public Long getUid() {
		return uid;
	}

	public void setUid(Long uid) {
		this.uid = uid;
	}

	public Long getMid() {
		return mid;
	}

	public void setMid(Long mid) {
		this.mid = mid;
	}

	public Long getMpid() {
		return mpid;
	}

	public void setMpid(Long mpid) {
		this.mpid = mpid;
	}

	public Integer getIsLiansuo() {
		return isLiansuo;
	}

	public void setIsLiansuo(Integer isLiansuo) {
		this.isLiansuo = isLiansuo;
	}

	public Integer getSellnum() {
		return sellnum;
	}

	public void setSellnum(Integer sellnum) {
		this.sellnum = sellnum;
	}

	public Integer getSongda() {
		return songda;
	}

	public void setSongda(Integer songda) {
		this.songda = songda;
	}


	public BigDecimal getPrice() {
		return price;
	}

	public void setPrice(BigDecimal price) {
		this.price = price;
	}

	public BigDecimal getPjprice() {
		return pjprice;
	}

	public void setPjprice(BigDecimal pjprice) {
		this.pjprice = pjprice;
	}

	public BigDecimal getQisongfee() {
		return qisongfee;
	}

	public void setQisongfee(BigDecimal qisongfee) {
		this.qisongfee = qisongfee;
	}

	public BigDecimal getPeisongfee() {
		return peisongfee;
	}

	public void setPeisongfee(BigDecimal peisongfee) {
		this.peisongfee = peisongfee;
	}

	public String getZhutui() {
		return zhutui;
	}

	public void setZhutui(String zhutui) {
		this.zhutui = zhutui;
	}

	public Double getPingfen() {
		return pingfen;
	}

	public void setPingfen(Double pingfen) {
		this.pingfen = pingfen;
	}

	public Integer getRenqi() {
		return renqi;
	}

	public void setRenqi(Integer renqi) {
		this.renqi = renqi;
	}

	public String getUnionid() {
		return unionid;
	}

	public void setUnionid(String unionid) {
		this.unionid = unionid;
	}

	public String getSkus() {
		return skus;
	}

	public void setSkus(String skus) {
		this.skus = skus;
	}

	public String getXuzhi() {
		return xuzhi;
	}

	public void setXuzhi(String xuzhi) {
		this.xuzhi = xuzhi;
	}

	public String getOpenHour() {
		return openHour;
	}

	public void setOpenHour(String openHour) {
		this.openHour = openHour;
	}

	public String getWxno() {
		return wxno;
	}

	public void setWxno(String wxno) {
		this.wxno = wxno;
	}

	public Integer getIsWifi() {
		return isWifi;
	}

	public void setIsWifi(Integer isWifi) {
		this.isWifi = isWifi;
	}

	public Integer getIsWxpay() {
		return isWxpay;
	}

	public void setIsWxpay(Integer isWxpay) {
		this.isWxpay = isWxpay;
	}

	public Integer getIsZfbpay() {
		return isZfbpay;
	}

	public void setIsZfbpay(Integer isZfbpay) {
		this.isZfbpay = isZfbpay;
	}

	public Integer getIsParking() {
		return isParking;
	}

	public void setIsParking(Integer isParking) {
		this.isParking = isParking;
	}

	public Integer getIsShiti() {
		return isShiti;
	}

	public void setIsShiti(Integer isShiti) {
		this.isShiti = isShiti;
	}

	public Date getCreatetime() {
		return createtime;
	}

	public void setCreatetime(Date createtime) {
		this.createtime = createtime;
	}

	public Date getModifytime() {
		return modifytime;
	}

	public void setModifytime(Date modifytime) {
		this.modifytime = modifytime;
	}

	public Long getModifier() {
		return modifier;
	}

	public void setModifier(Long modifier) {
		this.modifier = modifier;
	}

	public Integer getViews() {
		return views;
	}

	public void setViews(Integer views) {
		this.views = views;
	}

	public double getDistance() {
		return distance;
	}

	public void setDistance(double distance) {
		this.distance = distance;
	}

	public String getPhotos() {
		return photos;
	}

	public void setPhotos(String photos) {
		this.photos = photos;
	}

	public Integer getIsWaimai() {
		return isWaimai;
	}

	public void setIsWaimai(Integer isWaimai) {
		this.isWaimai = isWaimai;
	}

	public String getLogo() {
		return logo;
	}

	public void setLogo(String logo) {
		this.logo = logo;
	}

	public List<Goods> getGoods() {
		return goods;
	}

	public void setGoods(List<Goods> goods) {
		this.goods = goods;
	}

	public String getPhone2() {
		return phone2;
	}

	public void setPhone2(String phone2) {
		this.phone2 = phone2;
	}

	public Integer getIsTihuo() {
		return isTihuo;
	}

	public void setIsTihuo(Integer isTihuo) {
		this.isTihuo = isTihuo;
	}

	public Integer getIsYikatong() {
		return isYikatong;
	}

	public void setIsYikatong(Integer isYikatong) {
		this.isYikatong = isYikatong;
	}

	public Integer getIsDulizs() {
		return isDulizs;
	}

	public void setIsDulizs(Integer isDulizs) {
		this.isDulizs = isDulizs;
	}

	public Integer getIsCbct() {
		return isCbct;
	}

	public void setIsCbct(Integer isCbct) {
		this.isCbct = isCbct;
	}

	public Integer getStatus() {
		return status;
	}

	public void setStatus(Integer status) {
		this.status = status;
	}

	public String getShinfo() {
		return shinfo;
	}

	public void setShinfo(String shinfo) {
		this.shinfo = shinfo;
	}

	public String getTypeName() {
		return typeName;
	}

	public void setTypeName(String typeName) {
		this.typeName = typeName;
	}

	public Integer getZhexiao() {
		return zhexiao;
	}

	public void setZhexiao(Integer zhexiao) {
		this.zhexiao = zhexiao;
	}

	public Integer getJrhexiao() {
		return jrhexiao;
	}

	public void setJrhexiao(Integer jrhexiao) {
		this.jrhexiao = jrhexiao;
	}

	public Integer getXdhexiao() {
		return xdhexiao;
	}

	public void setXdhexiao(Integer xdhexiao) {
		this.xdhexiao = xdhexiao;
	}

	public String getProvinceCode() {
		return provinceCode;
	}

	public void setProvinceCode(String provinceCode) {
		this.provinceCode = provinceCode;
	}

	public String getCityCode() {
		return cityCode;
	}

	public void setCityCode(String cityCode) {
		this.cityCode = cityCode;
	}

	public String getDistrictCode() {
		return districtCode;
	}

	public void setDistrictCode(String districtCode) {
		this.districtCode = districtCode;
	}

	public String getYouhui() {
		return youhui;
	}

	public void setYouhui(String youhui) {
		this.youhui = youhui;
	}

	public Integer getMchtype() {
		return mchtype;
	}

	public void setMchtype(Integer mchtype) {
		this.mchtype = mchtype;
	}

	public Integer getIsAuth() {
		return isAuth;
	}

	public void setIsAuth(Integer isAuth) {
		this.isAuth = isAuth;
	}

	public String getWifipwd() {
		return wifipwd;
	}

	public void setWifipwd(String wifipwd) {
		this.wifipwd = wifipwd;
	}

	public String getThumb() {
		return thumb;
	}

	public void setThumb(String thumb) {
		this.thumb = thumb;
	}

	public String getAuthno() {
		return authno;
	}

	public void setAuthno(String authno) {
		this.authno = authno;
	}

	public String getZhizhao() {
		return zhizhao;
	}

	public void setZhizhao(String zhizhao) {
		this.zhizhao = zhizhao;
	}

	public String getXiangqing() {
		return xiangqing;
	}

	public void setXiangqing(String xiangqing) {
		this.xiangqing = xiangqing;
	}

	public BigDecimal getZhekou() {
		return zhekou;
	}

	public void setZhekou(BigDecimal zhekou) {
		this.zhekou = zhekou;
	}

	public String getXukezheng() {
		return xukezheng;
	}

	public void setXukezheng(String xukezheng) {
		this.xukezheng = xukezheng;
	}

	public Integer getMlevel() {
		return mlevel;
	}

	public void setMlevel(Integer mlevel) {
		this.mlevel = mlevel;
	}

	public BigDecimal getJffanbi() {
		return jffanbi;
	}

	public void setJffanbi(BigDecimal jffanbi) {
		this.jffanbi = jffanbi;
	}

	public Long getLeagueid() {
		return leagueid;
	}

	public void setLeagueid(Long leagueid) {
		this.leagueid = leagueid;
	}

	public String getVideo() {
		return video;
	}

	public void setVideo(String video) {
		this.video = video;
	}

	public Date getStarttime() {
		return starttime;
	}

	public void setStarttime(Date starttime) {
		this.starttime = starttime;
	}

	public Date getEndtime() {
		return endtime;
	}

	public void setEndtime(Date endtime) {
		this.endtime = endtime;
	}

	public Integer getPstype() {
		return pstype;
	}

	public void setPstype(Integer pstype) {
		this.pstype = pstype;
	}

	public Integer getIsprint() {
		return isprint;
	}

	public void setIsprint(Integer isprint) {
		this.isprint = isprint;
	}

	public String getZhengshu() {
		return zhengshu;
	}

	public void setZhengshu(String zhengshu) {
		this.zhengshu = zhengshu;
	}

	public String getVrurl() {
		return vrurl;
	}

	public void setVrurl(String vrurl) {
		this.vrurl = vrurl;
	}

	public String getGzhimg() {
		return gzhimg;
	}

	public void setGzhimg(String gzhimg) {
		this.gzhimg = gzhimg;
	}

	public String getKefuimg() {
		return kefuimg;
	}

	public void setKefuimg(String kefuimg) {
		this.kefuimg = kefuimg;
	}

	public String getPayimg() {
		return payimg;
	}

	public void setPayimg(String payimg) {
		this.payimg = payimg;
	}

	public String getYzno() {
		return yzno;
	}

	public void setYzno(String yzno) {
		this.yzno = yzno;
	}

	public String getGxbno() {
		return gxbno;
	}

	public void setGxbno(String gxbno) {
		this.gxbno = gxbno;
	}

	public Integer getYzstatus() {
		return yzstatus;
	}

	public void setYzstatus(Integer yzstatus) {
		this.yzstatus = yzstatus;
	}

	@Override
	protected Serializable pkVal() {
		return this.id;
	}

	@Override
	public String toString() {
		return "Store{" +
			"id=" + id +
			", name=" + name +
			", latitude=" + latitude +
			", longitude=" + longitude +
			", paixu=" + paixu +
			", address=" + address +
			", characteristic=" + characteristic +
			", province=" + province +
			", city=" + city +
			", district=" + district +
			", info=" + info +
			", linkman=" + linkman +
			", phone=" + phone +
			", pic=" + pic +
			", type=" + type +
			", state=" + state +
			", uid=" + uid +
			", mid=" + mid +
			", mpid=" + mpid +
			", openHour=" + openHour +
			", wxno=" + wxno +
			", isWifi=" + isWifi +
			", isWxpay=" + isWxpay +
			", isZfbpay=" + isZfbpay +
			", isParking=" + isParking +
			", createtime=" + createtime +
			", modifytime=" + modifytime +
			", modifier=" + modifier +
			"}";
	}

	public Integer getAreaCode() {
		return areaCode;
	}

	public void setAreaCode(Integer areaCode) {
		this.areaCode = areaCode;
	}

	public String getAreaName() {
		return areaName;
	}

	public void setAreaName(String areaName) {
		this.areaName = areaName;
	}

	public String getStoreIntroduce() {
		return storeIntroduce;
	}

	public void setStoreIntroduce(String storeIntroduce) {
		this.storeIntroduce = storeIntroduce;
	}
}
